package com.zkingsoft.service;

import java.util.List;
import com.matrix.core.pojo.PaginationVO;
import com.zkingsoft.bean.BizBusiness;
import com.matrix.core.web.BaseServices;

/**
 * @description  service接口类 (商户表)
 * @author 姜友瑶
 * @date 2018-09-06 06:30
 */
public interface BizBusinessService  extends BaseServices<BizBusiness>{
	
	/**
	 * 新增
	 */
	public int add(BizBusiness bizBusiness);
   	
   	/**
	 * 批量新增
	 */
	public int batchAdd(List<BizBusiness>  bizBusinessList);
   	
   	/**
	 * 根据map键值对 更新
	 */
	public int modifyByMap(BizBusiness oldBizBusiness ,BizBusiness newBizBusiness);
	
	/**
	 * 根据对象 更新
	 */
	public int modifyByModel(BizBusiness bizBusiness);
	
	/**
	 * 批量删除
	 */
	public int remove(List<String> list);

	/**
	 * 根据id删除
	 */
	public int removeById(String busId);
	
	/**
	 * 根据对象删除
	 */
	public int removeByModel(BizBusiness bizBusiness);
	
	/**
	 * 分页查询
	 */
	public List<BizBusiness> findInPage(BizBusiness bizBusiness, PaginationVO pageVo);

	/**
	 * 根据对象查询
	 */
	public List<BizBusiness> findByModel(BizBusiness bizBusiness);
	
	/**
	 * 统计记录数
	 */
	public int  findTotal(BizBusiness bizBusiness);
	
	/**
	 * 根据id查询
	 */
	public BizBusiness  findById(String busId);

   	

  
}